﻿@model DogsClub.WebUI.Models.Exposition

@{
    Layout = "~\\Views\\Shared\\_Layout4.cshtml";
    List<DogsClub.WebUI.Models.Dog> list = Model.GetDogsExpositionMembers.ToList();
}
<div class="newheaderExposItem">
    @Html.DisplayFor(modelItem => modelItem.Name, new { @class = "media-heading", @id = "itemExposHome" })
    <div class="DateStartHomeIndex">@Html.DisplayFor(modelItem => modelItem.DateStart, new { @Title = "Работает" })</div>
</div>
<div class="ConteinerGetAllExposition">
    <table class="table table-hover">
        @foreach (var item in list)
        {
            <tr>
                <td class="ZagValue2">
                    @Html.DisplayFor(modelItem => item.Name)
                </td>
                <td class="ZagValue2">
                    @Html.DisplayFor(modelItem => item.DogType.Name)
                </td>
                <td class="ZagValue2">
                    @Html.DisplayFor(modelItem => item.GetSex)
                </td>
                <td class="ZagValue2">
                    @Html.DisplayFor(modelItem => item.Description)
                </td>
                <td class="ZagValue2">
                    @Html.ActionLink("Удалить участника", "Delete", new { id = item.Id })
                </td>
            </tr>
        }
    </table>
</div>

